package com.future.future.movie.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 电影图片表
 * 
 * @author sn
 * @email sn@gmail.com
 * @date 2021-01-18 17:15:03
 */
@Data
@TableName("cmm_movie_image")
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class MovieImageEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private Long movieImageId;

	/**
	 * 外键：cmm_movie
	 */
	private Long movieId;

	/**
	 * 电影图片路径
	 */
	private String image;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 更新时间
	 */
	private Date updateTime;

	/**
	 * 软删除，0：已删除；1：未删除
	 */
	@TableLogic(value = "1",delval = "0")
	private Integer isDeleted;

}
